<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libclc</Name>
        <Homepage>http://libclc.llvm.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>Library requirements of the OpenCL C programming language</Summary>
        <Description>Library requirements of the OpenCL C programming language</Description>
        <Archive sha1sum="cb09e619690f57aa3dd3d085ca18f0efb2d3a4ac" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/libclc-12.0.0.src.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>llvm</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>spirv-llvm-devel</Dependency>
<!--             <Dependency>spirv-tools-devel</Dependency> -->
            <Dependency>python-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
        </BuildDependencies>
       <AdditionalFiles>
            <AdditionalFile target="clang32">clang32</AdditionalFile>
        </AdditionalFiles>
    </Source>

    <Package>
        <Name>libclc</Name>
        <RuntimeDependencies>          
            <Dependency>llvm-polly</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
	
   <Package>
        <Name>libclc-32bit</Name>
        <BuildType>emul32</BuildType>
        <PartOf>emul32</PartOf>
        <BuildDependencies>
            <Dependency>llvm-32bit</Dependency>
            <Dependency>spirv-llvm-32bit</Dependency>
        </BuildDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>
	
    <Package>
        <Name>libclc-devel</Name>
        <Summary>Development files for libclc</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libclc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="4">
            <Date>2021-06-05</Date>
            <Version>12.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2021-02-21</Date>
            <Version>11.1.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2020-11-12</Date>
            <Version>11.0.0</Version>
            <Comment>Version bump</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2020-03-26</Date>
            <Version>10.0.0_20200215</Version>
            <Comment>First release</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
    </History>
</PISI>
